package com.training1.core.modules.dao;

import java.util.List;
import java.util.Map;

import com.training1.core.common.dao.CrudDao;
import com.training1.core.common.dao.annotation.MyBatisDao;
import com.training1.core.entity.BatchWithDrawalEntity;
import com.training1.core.entity.MemberEntity;
@MyBatisDao
public interface BatchWithDrawalDao extends CrudDao<BatchWithDrawalEntity> {

	int addBatch(List<BatchWithDrawalEntity> list);

	int insertBatch(List<BatchWithDrawalEntity> batchList);

	int saveOne(BatchWithDrawalEntity bde);

	int updateStatus(Map<String,Object> map);

	List<BatchWithDrawalEntity> findByOrderNumber(Map<String, Object> map);

	BatchWithDrawalEntity findAllMoney(Map<String,Object> map);

	MemberEntity findMemberByCell(String cellPhone);

	List<BatchWithDrawalEntity> findApiList(Map<String,Object> map);

}
